package com.itheima.jdk8date;

import java.time.LocalDateTime;

public class Demo04 {

    public static void main(String[] args) {
        LocalDateTime now = LocalDateTime.now();
        LocalDateTime dateTime = now.withMonth(2).withDayOfMonth(29);
        System.out.println(dateTime);


    }
}
